package com.ruoyi.system.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.domain.ProjectResearch;

/**
 * 项目调研Mapper接口
 *
 * @author zhaonz
 * @date 2023-06-08
 */
public interface ProjectResearchMapper extends BaseMapper<ProjectResearch>
{
    /**
     * 查询项目调研
     *
     * @param researchId 项目调研主键
     * @return 项目调研
     */
    public ProjectResearch selectProjectResearchByResearchId(Long researchId);

    /**
     * 查询项目调研列表
     *
     * @param projectResearch 项目调研
     * @return 项目调研集合
     */
    public List<ProjectResearch> selectProjectResearchList(ProjectResearch projectResearch);

    /**
     * 新增项目调研
     *
     * @param projectResearch 项目调研
     * @return 结果
     */
    public int insertProjectResearch(ProjectResearch projectResearch);

    /**
     * 修改项目调研
     *
     * @param projectResearch 项目调研
     * @return 结果
     */
    public int updateProjectResearch(ProjectResearch projectResearch);

    /**
     * 删除项目调研
     *
     * @param researchId 项目调研主键
     * @return 结果
     */
    public int deleteProjectResearchByResearchId(Long researchId);

    /**
     * 批量删除项目调研
     *
     * @param researchIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteProjectResearchByResearchIds(String[] researchIds);
}
